package cn.faifai.desktop.events;

import javafx.stage.WindowEvent;

public class StageCloseEvent {
    private final String stageKey;
    private final WindowEvent windowEvent;

    public StageCloseEvent(String stageKey, WindowEvent windowEvent) {
        this.stageKey = stageKey;
        this.windowEvent = windowEvent;
    }

    public String getStageKey() {
        return stageKey;
    }

    public WindowEvent getWindowEvent() {
        return windowEvent;
    }
}
